import { ref } from 'vue'

export const breadCrumbsList = ref<Array<any>>([])

export const setCrumbs = (arr: Array<any>, additional: any) => {
  if (additional) {
    breadCrumbsList.value.push(...arr)
    return
  }
  breadCrumbsList.value = arr
}
